home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / oper_sys / kerberos / pc / krb_src.lha / INCLUDE / CONF.BAK < prev    next >
Encoding:
Text File  |  1991-08-07  |  1.6 KB  |  80 lines

  1. /*
  2.  * $Source: /mit/kerberos/src/include/RCS/conf.h,v $
  3.  * $Author: jtkohl $
  4.  * $Header: conf.h,v 4.0 89/01/23 09:58:40 jtkohl Exp $
  5.  *
  6.  * Copyright 1988 by the Massachusetts Institute of Technology.
  7.  *
  8.  * For copying and distribution information, please see the file
  9.  * <mit-copyright.h>.
  10.  *
  11.  * Configuration info for operating system, hardware description,
  12.  * language implementation, C library, etc.
  13.  *
  14.  * This file should be included in (almost) every file in the Kerberos
  15.  * sources, and probably should *not* be needed outside of those
  16.  * sources.  (How do we deal with /usr/include/des.h and
  17.  * /usr/include/krb.h?)
  18.  */
  19.  
  20. #ifndef _CONF_H_
  21. #define _CONF_H_
  22.  
  23. #include <mit_copy.h>
  24.  
  25. #include "osconf.h"
  26.  
  27. #ifdef SHORTNAMES
  28. #include "names.h"
  29. #endif
  30.  
  31. /*
  32.  * Language implementation-specific definitions
  33.  */
  34.  
  35. /* special cases */
  36. #ifdef __HIGHC__
  37. /* broken implementation of ANSI C */
  38. #undef __STDC__
  39. #endif
  40.  
  41. #if !defined(__STDC__) || !defined(__BORLANDC__)
  42. #define const
  43. #define volatile
  44. #define signed
  45. typedef char *pointer;        /* pointer to generic data */
  46. #define PROTOTYPE(p) ()
  47. #else
  48. typedef void *pointer;
  49. #define PROTOTYPE(p) p
  50. #endif
  51.  
  52. /* Does your compiler understand "void"? */
  53. #ifdef notdef
  54. #define void int
  55. #endif
  56.  
  57. /*
  58.  * A few checks to see that necessary definitions are included.
  59.  */
  60.  
  61. /* byte order */
  62.  
  63. #ifndef MSBFIRST
  64. #ifndef LSBFIRST
  65. /* #error byte order not defined */
  66. Error: byte order not defined.
  67. #endif
  68. #endif
  69.  
  70. /* machine size */
  71. #ifndef BITS16
  72. #ifndef BITS32
  73. Error: how big is this machine anyways?
  74. #endif
  75. #endif
  76.  
  77. /* end of checks */
  78.  
  79. #endif /* _CONF_H_ */
  80.